﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OA.DBUtility;

namespace OA.Model
{
    [MappingTable("ContractsClient")]
    public class ContractsClientInfo
    {
        #region Model
        private int _id;
        private string _contractid;
        private string _postionname;
        private string _clientname;
        private string _contactmethod;
        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContractId")]
        public string ContractId
        {
            set { _contractid = value; }
            get { return _contractid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("PostionName")]
        public string PostionName
        {
            set { _postionname = value; }
            get { return _postionname; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ClientName")]
        public string ClientName
        {
            set { _clientname = value; }
            get { return _clientname; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContactMethod")]
        public string ContactMethod
        {
            set { _contactmethod = value; }
            get { return _contactmethod; }
        }
        #endregion Model
    }
}
